import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

//u-view组件库
import uView from "uview-ui";
Vue.use(uView);

//全局挂载用户信息模块
import User from "./common/user.js"
Vue.prototype.User=User

//请求处理
import {myRequest} from "./common/http.js"
Vue.prototype.$http=myRequest

//挂载服务器地址
import confige from "./common/confige.js"
Vue.prototype.confige=confige

//系统信息
import system from "./common/system.js"
Vue.prototype.system=system

//挂载地址
import ThreeArea from "./common/ThreeArea.js"
Vue.prototype.ThreeArea=ThreeArea

App.mpType = 'app'

const app = new Vue({
    ...App,User,confige,ThreeArea,system
})
app.$mount()
